<?php
  require_once('inc_admin.php');  
  //获取用户输入的信息
  $username = $_POST["username"];
  $pwd = $_POST["pwd"];
  //连接数据库  
  connect();
  //编写sql语句
 $sql = "insert into videotype (tid,typename) values('20','未知')";
 if(!mysql_query($sql,$conn)){
    echo "添加数据失败：".mysql_error();
  } else {
    echo "添加数据成功";}
  
?>